using System;
using System.Collections.Generic;
using System.Text;

using Entities;

namespace IDAL
{
    public interface IOrderDAO
    {
        IList<OrderInfo> GetAll();

        OrderInfo GetByOrderID(string orderID);

        IList<OrderInfo> GetByUserName(string username);

        IList<OrderInfo> GetByOrderDate();

        string GetTotalOrderBetWeenDay(string from, string to);

        string GetTotalOrderByOrderDay();

        IList<OrderInfo> GetOrderBetweenDay(string from, string to);

        int Insert(OrderInfo order);

        bool UpdateShippedDate(string orderID);

    }
}
